<?php
class sysmktCtrl extends lib_ctrl{
	/*
	 * 会员列表
	 */
	public function memberAct(){
		$memberM = loadModel('member');
		$members = $memberM->select('*');
		$this->view->assign('members',$members);
		$this->view->display();
	}
	
	/*
	 * 商家管理
	 */
	public function merchantAct(){
		$merchantM = loadModel('merchant');
		$merchants = $merchantM->select('*');
		$this->view->assign('merchants',$merchants);
		$this->view->display();
	}
}